<?php
$smarty->configLoad($lang . '/rule.module.php');
$language = parse_ini_file($lang . '/breadcrumb.module.php', true);
$breadcrumb = $language['rules'];

$template = 'rules/index.tpl';
$sql = 'SELECT * FROM '.DB_CMS.'.module_rules';
$dbh = $connection->query($sql);
$value = '';
while ($row = $dbh->fetch(PDO::FETCH_ASSOC)) {
	$value[] = $row;
}
$smarty->assign('rules', $value);

?>